package cn.zhukelili.generic;

/**
 * @description: 具体抽象化角色
 * @author: hhbeast
 * @since: 2018/7/29 10:19
 */
public class RefinedAbstraction extends Abstraction {
    //覆写构造函数
    public RefinedAbstraction(Implementor _imp) {
        super(_imp);
    }

    //修正父类的行为
    @Override
    public void request() {
        /*
         * 业务处理...
         */
        super.request();
        super.getImp().doAnything();
    }
}
